package com.demo13;

/**
 * Created by wzl on 2017/8/25.
 */
public class Take {
    public static void main(String[] args) {
        try{
            String str="lili";
            System.out.println(str+"年龄是：");
            int age=Integer.parseInt("20L");//数据类型转换
            System.out.println(age);
        }catch(Exception e){//catch语句块用来获取异常信息
            e.printStackTrace();//输出异常性质
        }
        System.out.println("program over");
    }
}
